package com.example;

public class Cleanser {

    private String s = "Cleanser";

    public void append(String a){ s+=a; }
    public void dilute(){ append(" dilute()");}
    public void apply(){ append(" apply()");}
    public void scrub(){ append(" scrub()");}

    @Override
    public String toString() {
        return s;
    }

    public Cleanser() {
        System.out.println("I am Cleanser:");
    }

    public Cleanser(String message) {
        System.out.println("I am Cleanser:"+message);
    }

    public static void main(String[] args) {
        Cleanser x = new Cleanser("OK");
        x.dilute();  x.apply();  x.scrub();
        System.out.print(x);
    }
}
